package com.anjubao.parking.municipal.common.exception;

import com.anjubao.parking.municipal.common.dto.ApiCode;
import com.anjubao.parking.municipal.common.dto.ApiResult;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * 请求异常类
 * 
 * @author chenfang
 *
 */
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class BadRequestException extends AbstractHttpException {
	private static final long serialVersionUID = -3620287949379990987L;

	public BadRequestException(String str) {
		super(str);
		setApiCode(ApiCode.STATUS_INTERNAL_ERROR);
	}
}